home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20021006-20030409 / 000304_wesdog@hotmail.com_Thu Feb 13 18:09:56 EST 2003.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  39 lines

  1. Article: 14100 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
  3. From: wesdog@hotmail.com (Wes)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: Dealing with '\' char in strings of file locations
  6. Date: 13 Feb 2003 14:51:38 -0800
  7. Organization: http://groups.google.com/
  8. Lines: 20
  9. Message-ID: <a70f50e.0302131451.4fe831f@posting.google.com>
  10. References: <a70f50e.0302121525.7922c8c3@posting.google.com>
  11. NNTP-Posting-Host: 65.207.13.3
  12. Content-Type: text/plain; charset=ISO-8859-1
  13. Content-Transfer-Encoding: 8bit
  14. X-Trace: posting.google.com 1045176698 14432 127.0.0.1 (13 Feb 2003 22:51:38 GMT)
  15. X-Complaints-To: groups-abuse@google.com
  16. NNTP-Posting-Date: 13 Feb 2003 22:51:38 GMT
  17. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14100
  18.  
  19. I have learned alot since my last post...  I believe I understand the
  20. difference between ASSIGN, EVALUATE and DEFINE.
  21.  
  22. However I am still having trouble getting my mind around parsing UNC
  23. paths.  I have a UNC path "\\myserver\dir\subdir\file.txt" in the same
  24. location of each line (char 50 through 300 is reserved for the UNC,
  25. whitespace fills in what isnt used).
  26.  
  27. My goal here is to whack off everything except "subdir\file.txt" so I
  28. can tell kermit FTP to put this file in my FTP server.  I have tried
  29. to use \fcontents() but to no avail.
  30.  
  31. How do I turn off evaluation of the slashes so when I parse the line,
  32. the original text isnt mangled?
  33.  
  34. Can somebody show me how to use function like \ftrim() or
  35. \fsubstring() in such a way to keep my string intact?
  36.  
  37. Thanks in advance.
  38. Wes
  39.